from scipy.linalg import inv, det

# Create a matrix
A = np.array([[1, 2], [3, 4]])

# Compute inverse and determinant
A_inv = inv(A)
A_det = det(A)

print("Inverse of A:\n", A_inv)
print("Determinant of A:", A_det)